<% provide(:title, "Log in") %>
 <h1>Log in</h1>
 <div class="row">
         <div class="col-md-6 col-md-offset-3">
                 <%= form_with(url: login_path, scope: :session, local: true) do |f| %> 
                         <%= f.label :email %>
                         <%= f.email_field :email, class: 'form-control' %>
                         <%= f.label :password %>
                          <%= f.password_field :password, class: 'form-control' %>
                          
                          <%= f.label :remember_me, class: "checkbox inline" do %>
                                  <%= f.check_box :remember_me %>
                                  <span>Remember me on this computer</span>
                          <% end %>

                          <%= f.submit "Log in", class: "btn btn-primary" %>
               <% end %>
               <p>New user? <%= link_to "Sign up now!", signup_path %></p>
         </div>
 </div>